import com.alcatel_lucent.scalastudy.model.Rational;

import java.io.OutputStream;
import java.io.PrintWriter;
import java.nio.charset.Charset;

/**
 * Created with IntelliJ IDEA.
 * User: Guoshun Wu
 * Date: 13-6-14
 * Time: 下午10:19
 */
public class Main {
    public static void println(Object obj){
        System.out.println(obj);
    }

    public static void main(String... args) {
//        println("Hello, " + new Rational(3, 8));
//        println(null instanceof Rational);
        println(Charset.defaultCharset());
        println(System.getProperty("file.encoding"));

        String x = "abcd".substring(2);
        String y = "abcd".substring(2);

        println(x == y);
    }
}
